package com.stone.design.practice;

/**
 * @description
 * @Time 2018/6/1 9:39
 * Created by Stone on 2018/6/1.
 */
public class ExtentBase extends Base {

    private String s;
    private Listener listener;
    private AntherListener antherListener;

    public ExtentBase() {
        System.out.println("siiiiiiiiiiiiiiii");
    }


    public ExtentBase(String s) {
        super(s);
        System.out.println("siiiiiiiiiiihhhhhhhhhhhhhhhiiiii");

    }

    public void setListener(Listener listener) {
        this.listener = listener;
    }

    public void setAntherListener(AntherListener antherListener) {
        this.antherListener = antherListener;
    }

    public interface Listener {
        void init(int a);
        void sayHello(String s);
    }

    public interface AntherListener {
        void say();
    }
}
